package com.ebupt.migu.music.iop.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ebupt.migu.music.iop.pojo.IopTagInfo;

import java.util.List;

/**
 *  iop标签信息
 * @author tz
 */
@DS("mysql_mg")
public interface IopTagInfoMapper extends BaseMapper<IopTagInfo> {

    /**
     * 查询所有iop标签
     * @return
     */
    default List<IopTagInfo> selectAll(){
        return this.selectList(new QueryWrapper<IopTagInfo>().lambda().select());
    }

}
